﻿using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Should.Core.Exceptions;

namespace Microsoft.VisualStudio.TestTools.UnitTesting
{


}

namespace Microsoft.VisualStudio.TestPlatform.UnitTestFramework
{


}

#if !TASKSUPPORT
namespace System.Threading.Tasks
{


}
#endif


namespace MugenMvvmToolkitTest
{
    public static class TestExtensions
    {
        public static readonly IList<string> TestStrings = new[] { "test1", "test2", "test3", "test4" };

        public static void ShouldThrow(this Action action)
        {
            bool isThrow = false;
            try
            {
                action();
            }
            catch (Exception)
            {
                isThrow = true;
            }
            if (!isThrow)
                throw new AssertException();
        }
    }
}